package com.qfedu.service;

import com.qfedu.pojo.req.GoodsInfoReq;
import com.qfedu.pojo.resp.BaseResp;

/**
 * @ClassName GoodsInfoService
 * @Description TODO
 * @Author young
 * @Date 2022-09-26 22:52
 * @Version 1.0
 **/
public interface GoodsInfoService {
    BaseResp findByGoodsName(String goodsName);

    BaseResp findByType(Integer secondTypeId);

    BaseResp findById(Integer goodsId);

    BaseResp findByHotId(Integer hotId);


    BaseResp findAll(Integer page, Integer size);

    BaseResp delById(Integer goodsId);

    BaseResp saveOrUpdate(GoodsInfoReq goodsInfoReq);
}
